Table of Contents
Using Image

To create an image in the PDF file, simply initializes an AcmImage object and add it to the content tree. For example:

//Load the image        
System.Drawing.Image gdiImage = 
    System.Drawing.Image.FromFile("c:\\Hello.gif");

//Create an output content with three child contents:
//"some text", the image and "some more text".
AcmContent content = new AcmContent(
    new AcmText("some text "),
    new AcmImage(gdiImage),
    new AcmText(" some more text"));

The above code will render "some text", the image and "some more text" in the same line.